package com.itheima;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@Slf4j
@SpringBootApplication
@EnableSwagger2
@EnableKnife4j
@EnableCaching
@ServletComponentScan("com.itheima.filter")
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class);
        log.info("项目已启动....");
    }
}
